cd tensorflow
bazel build --config=opt --distdir=/tmp/data/ --cxxopt="-D_GLIBCXX_USE_CXX11_ABI=1" --verbose_failures //tensorflow/tools/pip_package:build_pip_package
mkdir -p out
./bazel-bin/tensorflow/tools/pip_package/build_pip_package ./out
cd ../